package com.abc.test.common.aop;

import com.abc.test.common.annotation.WebLog;
import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * @author Mr.Luo
 * @date 2022-09-16 16:34
 * @desc 日志aop
 */
@Slf4j
@Aspect
@Component
public class WebLogAop {

    @Around("@annotation(webLog)")
    public Object around(ProceedingJoinPoint pjp, WebLog webLog) {
        return null;
    }

}
